<div class="col-md-3 left_col">
    <div class="left_col scroll-view">

        <div class="navbar nav_title" style="border: 0;">
            <a href="javascript:void(0);" class="site_title">
                <span>我的商铺</span>
            </a>
        </div>
        <div class="clearfix"></div>

        <!-- menu prile quick info -->
        <div class="profile">
            <div class="profile_pic">
                <img src="{$Think.session.shop_avatar}" class="img-circle profile_img" onerror="this.src='__STATIC__/images/user.png'">
            </div>
            <div class="profile_info">
                <span>欢迎,</span>
                <h2>{$Think.session.shop_user}</h2>
            </div>
        </div>
        <!-- /menu prile quick info -->

        <br/>

        <!-- sidebar menu -->
        <div id="sidebar-menu" class="main_menu_side hidden-print main_menu">

            <div class="menu_section">
                <h3>&nbsp;</h3>
                <ul class="nav side-menu">
                    <!--控制台-->
                    <li><a href="{:url('Dashboard/index')}"><i class="fa fa-tachometer"></i> 控制台 </a></li>

                    <!--店铺信息-->
                    <li><a href="{:url('Shop/index')}" {eq name="$Request.controller" value="ShopGoodsType"}class="current-page"{/eq}><i class="fa fa-home"></i> 店铺设置 </a></li>

                    <!--天天特价-->
                    {eq name=":cache('web_sale')" value="Y"}
                    <li><a href="{:url('Sale/index')}" {eq name="$Request.controller" value="Sale"}class="current-page"{/eq}><i class="fa fa-cc-discover"></i> 天天特价 </a></li>
                    {/eq}

                    <!--限时抢购-->
                    {eq name=":cache('web_limited')" value="Y"}
                    <li><a href="{:url('Limited/index')}" {eq name="$Request.controller" value="Limited"}class="current-page"{/eq}><i class="fa fa-credit-card"></i> 限时抢购 </a></li>
                    {/eq}

                    <!--商品管理-->

                    <li {in name="$Request.controller" value="ShopGoods,ShopGoodsSpec,ShopGoodsType"}class="active"{/in}><a><i class="fa fa-shopping-cart"></i> 商品管理 <span class="fa fa-chevron-down"></span></a>
                        <ul class="nav child_menu" {in name="$Request.controller" value="ShopGoods,ShopGoodsSpec,ShopGoodsType"}style="display: block"{else/}style="display: none"{/in}>

                            <li {eq name="$Request.controller" value="ShopGoodsType"}class="current-page"{/eq}><a href="{:url('ShopGoodsType/index')}">商品分类</a></li>

                             <li {eq name="$Request.controller" value="ShopGoodsSpec"}class="current-page"{/eq}><a href="{:url('ShopGoodsSpec/index')}">规格管理</a></li>

                             <li {if condition="($Request.controller eq 'ShopGoods') && ($Request.action eq 'index') "}class="current-page"{/if}><a href="{:url('ShopGoods/index',['orderId' => 'sort'])}">出售中的商品</a></li>

                             <li condition="($Request.controller eq 'ShopGoods') && ($Request.action eq 'warehouse') "}class="current-page"{/if}><a href="{:url('ShopGoods/warehouse')}">仓库中的商品</a></li>

                            <li condition="($Request.controller eq 'ShopGoods') && ($Request.action eq 'violation') "}class="current-page"{/if}><a href="{:url('ShopGoods/violation')}">违规的商品</a></li>

                            <!--<li condition="($Request.controller eq 'ShopGoods') && ($Request.action eq 'violation') "}class="current-page"{/if}><a href="{:url('ShopGoodsCombo/index')}">商品套餐管理</a></li>-->
                        </ul>
                    </li>

                <!--代金券管理-->
                    <li {in name="$Request.controller" value="Coupon"}class="active"{/in}><a><i class="fa fa-money"></i> 优惠券管理 <span class="fa fa-chevron-down"></span></a>
                        <ul class="nav child_menu" {in name="$Request.controller" value="Coupon"}style="display: block"{else/}style="display: none"{/in}>
                            <li {eq name="$Request.controller" value="Coupon"}class="current-page"{/eq}><a href="{:url('Coupon/index')}">优惠券管理</a></li>
                        </ul>
                    </li>

                    <!--物流管理-->
                    <li {in name="$Request.controller" value="FreightTemplate"}class="active"{/in}><a><i class="fa fa-truck"></i> 物流管理 <span class="fa fa-chevron-down"></span></a>
                        <ul class="nav child_menu" {in name="$Request.controller" value="FreightTemplate"}style="display: block"{else/}style="display: none"{/in}>
                            <li {eq name="$Request.controller" value="FreightTemplate"}class="current-page"{/eq}><a href="{:url('FreightTemplate/index')}">运费模板管理</a></li>

                        </ul>
                    </li>

                <!--评价管理-->
                    <li {in name="$Request.controller" value="ShopGoodsEvaluate"}class="active"{/in}><a><i class="fa fa-pencil-square-o"></i> 评价管理 <span class="fa fa-chevron-down"></span></a>
                        <ul class="nav child_menu" {in name="$Request.controller" value="ShopGoodsEvaluate"}style="display: block"{else/}style="display: none"{/in}>

                             <li {eq name="$Request.controller" value="ShopGoodsEvaluate"}class="current-page"{/eq}><a href="{:url('ShopGoodsEvaluate/index')}">评价管理</a></li>
                        </ul>
                    </li>

                <!--订单管理-->
                    <li {in name="$Request.controller" value="MemberOrder"}class="active"{/in}><a><i class="fa fa-reorder (alias)"></i> 订单管理 <span class="fa fa-chevron-down"></span></a>
                        <ul class="nav child_menu" {in name="$Request.controller" value="MemberOrder"}style="display: block"{else/}style="display: none"{/in}>

                             <li {eq name="$Request.controller" value="MemberOrder"}class="current-page"{/eq}><a href="{:url('MemberOrder/index')}">订单管理</a></li>
                            <li {eq name="$Request.controller" value="MemberRefund"}class="current-page"{/eq}><a href="{:url('MemberRefund/index')}">退款退货订单管理</a></li>
                             <li {eq name="$Request.controller" value=""}class="current-page"{/eq}><a target="_blank" href="https://m.kuaidi100.com/result.jsp">单号查询管理</a></li>
                        </ul>
                    </li>

                <!--统计管理-->
                    <li {in name="$Request.controller" value="Statistics"}class="active"{/in}><a><i class="fa fa-pie-chart"></i> 统计管理 <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu" {in name="$Request.controller" value="Statistics"}style="display: block"{else/}style="display: none"{/in}>
                        <li {eq name="$Request.action" value="sales_volume"}class="current-page"{/eq}><a href="{:url('Statistics/sales_volume')}">销量统计</a></li>
                        <li {eq name="$Request.action" value="order_list"}class="current-page"{/eq}><a href="{:url('Statistics/order_list')}">订单统计</a></li>
                    </ul>
                    </li>
                </ul>
            </div>

        </div>
        <!-- /sidebar menu -->
    </div>
</div>